import request from '@/utils/request'

export function getIndex() {
    return request({
      url: '/liveRoom/index/',
      method: 'get'
    })
}

export function liveRoomListByTypeId(id) {
  return request({
    url: '/liveRoom/index/liveRoomListByTypeId?typeId='+id,
    method: 'get'
  })
}
